package com.lagou.edu.util;

public class CodeUtil {


    /**
     * @Description: 生成6位数的验证码
     * @Author: chendong
     * @Date: 2021/2/4
     **/
    public static String generateCode(){
        String random=(int)((Math.random()*9+1)*100000)+"";
        return random;
    }


}
